package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Plan;

import java.util.List;
import java.util.Map;

public interface PlanService {
    void add(Plan plan);

    void delete(Integer id);

    PageResult findPage(Map map);

    Plan findById(Integer id);

    void edit(Plan plan);

    List<Map> findCategory();
}
